-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Enable App Launch Profiling UI tests #3665
Conversation
The with GH-3529 added test method writeProfileFile crashed when a profile file already existed. Now, the writeProfileFile method exists and prints a debug message when a profiling file already exists and logs an error when it can't write the profile.
The UI tests in SauceLabs frequently time out. Let's increase the value to 60m, as it's better to have delayed UI test results than failing CI.
Downloading the jUnit artifacts fails frequently, and we don't use them. Therefore, we can remove them.
Enable the app launch profiling UI tests again to ensure the feature works correctly.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3665 +/- ##
=============================================
- Coverage 89.277% 89.261% -0.016%
=============================================
Files 534 534
Lines 58977 58977
Branches 21165 21164 -1
=============================================
- Hits 52653 52644 -9
- Misses 5289 5298 +9
Partials 1035 1035 see 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Replace running UI tests in SauceLabs with GH actions because SauceLabs tests are unreliable; see internal Notion decision.
…nch-profiling-tests
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
1d11695 | 1219.57 ms | 1243.52 ms | 23.95 ms |
c0c1496 | 1201.19 ms | 1228.36 ms | 27.17 ms |
b9d59f7 | 1250.71 ms | 1257.78 ms | 7.06 ms |
be2977c | 1243.94 ms | 1258.59 ms | 14.65 ms |
98752f3 | 1226.18 ms | 1251.38 ms | 25.20 ms |
28c80b5 | 1198.63 ms | 1214.08 ms | 15.45 ms |
2b55154 | 1231.36 ms | 1247.82 ms | 16.46 ms |
4259afd | 1234.04 ms | 1256.76 ms | 22.72 ms |
0f30019 | 1239.22 ms | 1240.04 ms | 0.82 ms |
3437454 | 1235.54 ms | 1244.82 ms | 9.28 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
1d11695 | 20.76 KiB | 401.60 KiB | 380.84 KiB |
c0c1496 | 22.85 KiB | 407.45 KiB | 384.60 KiB |
b9d59f7 | 22.85 KiB | 405.77 KiB | 382.93 KiB |
be2977c | 22.85 KiB | 407.67 KiB | 384.82 KiB |
98752f3 | 20.76 KiB | 435.09 KiB | 414.33 KiB |
28c80b5 | 21.58 KiB | 417.85 KiB | 396.27 KiB |
2b55154 | 22.84 KiB | 402.19 KiB | 379.34 KiB |
4259afd | 20.76 KiB | 419.70 KiB | 398.94 KiB |
0f30019 | 22.84 KiB | 405.39 KiB | 382.54 KiB |
3437454 | 22.85 KiB | 408.88 KiB | 386.03 KiB |
GH-3665 didn't enable the app launch profiling tests because they were still disable in Xcode. This PR fixes that and also uses more accessibility identifiers in the profiling tests.
GH-3665 didn't enable the app launch profiling tests because they were still disabled in Xcode. This PR fixes that and also uses more accessibility identifiers in the profiling tests.
Enable the app launch profiling UI tests again to ensure the feature works correctly.
This PR is based on #3666.
#skip-changelog